package com.bicon.base.data.pojo.botu;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 发货点管理表
 * </p>
 *
 * @author zhoutyianqi
 * @since 2018-07-25
 */
@TableName("delivery_point")
public class DeliveryPoint extends Model<DeliveryPoint> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    private String id;
    /**
     * 商户ID
     */
    @TableField("tenant_id")
    private String tenantId;
    /**
     * 单据编号
     */
    @TableField("order_number")
    private String orderNumber;
    /**
     * 发货点名称
     */
    private String name;
    /**
     * 是否默认发货点(0,否，1是)
     */
    @TableField("is_delivery")
    private Integer isDelivery;
    /**
     * 是否默认收货点(0,否，1是)
     */
    @TableField("is_receive")
    private Integer isReceive;
    /**
     * 发货人
     */
    private String shipper;
    /**
     * 区域
     */
    private String region;
    /**
     * 详细发货地址
     */
    private String address;
    /**
     * 联系电话
     */
    private String telephone;
    /**
     * 删除标识（0正常，1删除）
     */
    @TableField("logic_delete")
    private String logicDelete;
    /**
     * 创建时间
     */
    @TableField("create_date")
    private Date createDate;
    /**
     * 修改时间
     */
    @TableField("update_date")
    private Date updateDate;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getIsDelivery() {
        return isDelivery;
    }

    public void setIsDelivery(Integer isDelivery) {
        this.isDelivery = isDelivery;
    }

    public Integer getIsReceive() {
        return isReceive;
    }

    public void setIsReceive(Integer isReceive) {
        this.isReceive = isReceive;
    }

    public String getShipper() {
        return shipper;
    }

    public void setShipper(String shipper) {
        this.shipper = shipper;
    }

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getLogicDelete() {
        return logicDelete;
    }

    public void setLogicDelete(String logicDelete) {
        this.logicDelete = logicDelete;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "DeliveryPoint{" +
        "id=" + id +
        ", tenantId=" + tenantId +
        ", orderNumber=" + orderNumber +
        ", name=" + name +
        ", isDelivery=" + isDelivery +
        ", isReceive=" + isReceive +
        ", shipper=" + shipper +
        ", region=" + region +
        ", address=" + address +
        ", telephone=" + telephone +
        ", logicDelete=" + logicDelete +
        ", createDate=" + createDate +
        ", updateDate=" + updateDate +
        "}";
    }
}
